
<div class="location-0" id="content">
    <div id="content-box">

        <div class="work">

            <div class="location loc-1">
                <div class="image-box right">
                    <a rel="lightbox" title="<?=$order[0]->carname?>" href="<?=$info_sis_url.$car[0]->url?>_800_600.jpg">
                        <img alt="<?=$order[0]->carname?>" src="<?=$info_sis_url.$car[0]->url?>_105_76.jpg">
                    </a>
                </div>

                <h3><?=$order[0]->carname?></h3>

                <table width="80%" border="0" class="clean-table">
                    <thead>
                        <tr>
                            <td><strong>Status</strong></td>
                            <td><strong>Pick up</strong></td>
                            <td><strong>Return</strong></td>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>new</td>
                            <td><?=$order[0]->pickup_loc?><br><i><?=date('d.m.Y', $order[0]->datefrom).', '.date('H:i', $order[0]->datefrom)?> h</i></td>
                            <td><?=$order[0]->return_loc?><br><i><?=date('d.m.Y', $order[0]->dateto).', '.date('H:i', $order[0]->dateto)?> h</i></td>
                        </tr>
                    </tbody>
                </table>

                <table width="100%" border="0" class="clean-table">
                    <tbody><tr>
                            <td>
                                <h3>Contact Information</h3>
                                <strong>Name</strong>: <?=$order[0]->firstName?><br>
                                <strong>E-mail</strong>: <?=$order[0]->email?><br>
                                <strong>Telephone</strong>: <?=$order[0]->phone?><br>
                                <strong>Note</strong>: 
                                <?if($order[0]->note){
                                        echo $order[0]->note;
                                    }else echo '- empty -'?>
                                <br>
                                <strong>I agree with Terms and Conditions</strong>: yes<br>
                            </td>
                            <td>
                                <h3>Price</h3>
                                <b><?=$order[0]->totalprice;?>,- &euro;</b>
                            </td>
                            <?if(isset($order_extras)){?>
                                <style>
                                    ul li{
                                        list-style-type: circle;
                                    }
                                </style>
                                <td style="width: 280px; vertical-align: top;">
                                    <h3>Accessories</h3>
                                    <ul>
                                        <?foreach($order_extras as $row):?>
                                            <li><?=$row->type.' ('.$row->description.') ('.$row->price.'&euro; / day)'?></li>
                                            <?endforeach;?>
                                    </ul>
                                </td>
                                <?}?>
                        </tr>
                    </tbody></table>

                <h3>Thank you! Please make payment with credit card.</h3>
                <p style="font-size: 11px; color: red;">Reservation is valid only if you pay by credit card!</p>
                <div class="reservation" style="padding-bottom: 43px;">
                    <div class="submit">
                        <div class="submit-end">&nbsp;</div>
                        <?
                            $url = 'www.informacionisistem.com';
                            //$url = 'localhost/infosis';
                        ?>
                        <a href="http://<?=$url?>/rentacar/rentacar/payservice/do_pay/<?=$order[0]->id?>/rentacar">Pay by Credit Card</a>
                    </div>
                </div>



            </div>
        </div>

    </div> 
</div>
<script type="text/javascript">
    $(function() {

        $('a[rel=lightbox]').lightBox({
            overlayBgColor: '#FFF',
            overlayOpacity: 0.6,
            imageLoading: base_url+'assets/img/lightbox/loading.gif',
            imageBtnClose: base_url+'assets/img/lightbox/close.gif',
            imageBtnPrev: base_url+'assets/img/lightbox/prev.gif',
            imageBtnNext: base_url+'assets/img/lightbox/next.gif',
            imageBlank : base_url+'assets/img/lightbox/blank.gif',
            containerResizeSpeed: 350,
            txtImage: 'Image',
            txtOf: 'of'
        });
    });
</script>